namespace FastNetCore.Core.Response;

public class SuccessResponseResult: ResponseResult
{

    public SuccessResponseResult()
        :base()
    {
        this.Code = ResponseCode.SUCCESS_CODE;
        this.Message = ResponseCode.GetItemByCode(this.Code);
        this.IsSuccess=true;
    }

    public SuccessResponseResult(Object data)
        :this()
    {
        this.Data = data;
    }

    public SuccessResponseResult(int code, string message, Object data) 
        : base(code, message)
    {
        this.IsSuccess=true;
        this.Data = data;   
    }
    
}